<link rel="stylesheet" href="%_skin%styles.css" type="text/css" media="screen"/>
    <script src="%_js%Grathine.js"></script>
	<script src="%_js%LayerManager.js"></script>
	<script src="%_js%Layer.js"></script>
	<script src="%_js%Selection.js"></script>
	<script src="%_js%RectTool.js"></script>
	<script src="%_js%CircleTool.js"></script>
	<script src="%_js%LineTool.js"></script>
	<script src="%_js%BrushTool.js"></script>
	<script src="%_js%PasteImageTool.js"></script>
	<script src="%_js%MoveTool.js"></script>
	<script src="%_js%CropTool.js"></script>
	<script src="%_js%FillTool.js"></script>
	<script src="%_js%ToolSet.js"></script>
	<script src="%_js%windows.js"></script>
	<script src="%_js%ajax.js"></script>
	<script src="%_js%webtoolkit.aim.js"></script>
	<script src="%_js%functions.js"></script>
	<script>
		var grathine = null;
		var grathine_gallery_url = "%_gallery_url%";
		var grathine_save_url = "%_save_url%";
		var grathine_tmp_image_name = "";
		function createGrathine() {
			grathine = new Grathine(400,300);
			//alert(grathine.setParameter('fillStyle',grathine.curBgColor));
			//grathine.ctrlCanvas.style.position = "absolute";
			//grathine.ctrlCanvas.style.left = findPosX(grathine.canvas);
			//grathine.ctrlCanvas.style.right = findPosY(grathine.canvas);
		}

	</script>